package universityModel.lesson;

import universityModel.curriculum.WeekDays;
import universityModel.person.Name;

/**
 *
 * @author Parkhomenko Dmytro
 */

public class Lecture extends Lesson implements LectureInterface {
    private String homeTask = "Nothing";
	
    public Lecture(Name teacher, 
                   Time numPair, 
                   Venue venue, 
                   String subject, 
                   WeekDays weekDay) {
        super(teacher, numPair, venue, subject, weekDay);
    }

    public void setHomeTask(String homeTask) {
        this.homeTask = homeTask;
    }

    public String getHomeTask() {
        return homeTask;
    }

    @Override
    public String toString() {
        return super.toString() +
               "\nhomeTask: " + homeTask;
    }
}